<?xml version="1.0" encoding="UTF-8"?>
<!-- The built-in log levels for log4j2 are: -->
<!-- OFF -->
<!-- FATAL -->
<!-- ERROR -->
<!-- WARN -->
<!-- INFO -->
<!-- DEBUG -->
<!-- TRACE -->
<!-- ALL -->
<Configuration status="WARN">
    <Properties>
        <property name="filePattern">${date:yyyy-MM-dd}</property>
    </Properties>
	<Appenders>
		<Console name="Console" target="SYSTEM_OUT">
			<PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{0} %M - %msg%n" />
		</Console>
		<File name="File" fileName="log/test-${filePattern}-persistency.log">
			<PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{0} %M - %msg%n" />
		</File>
	</Appenders>
	<Loggers>
		<Root level="INFO">
			<AppenderRef ref="Console" />
			<AppenderRef ref="File" />
		</Root>
	</Loggers>
</Configuration>